While loops allow you to repeat code while a condition remains true.